package com.pzh.guli.service.statics.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author xzh
 * @since 2022-07-23
 */
@Getter
@Setter
@TableName("statistics_daily")
public class Daily implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(type = IdType.ASSIGN_ID)
      private String id;

    /**
     * 统计日期
     */
    private String dateCalculated;

    /**
     * 每日注册人数
     */
    private Integer registerNum;

    /**
     * 每日登录人数
     */
    private Integer loginNum;

    /**
     * 每日观看人数
     */
    private Integer videoViewNum;

    /**
     * 每日课程新增数
     */
    private Integer courseAddNum;

    /**
     * 创建时间
     */
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime gmtCreate;

    /**
     * 更新时间
     */
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.UPDATE)
    private LocalDateTime gmtModified;

}
